package net.lab1024.sa.admin.module.business.tx.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 提现申请表 更新表单
 *
 * @Author syf
 * @Date 2025-05-28 10:25:38
 * @Copyright 畅想科技
 */

@Data
public class TxUpdateForm {

    @Schema(description = "提现申请编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提现申请编号 不能为空")
    private String txId;

    @Schema(description = "提现用户id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提现用户id 不能为空")
    private String userId;

    @Schema(description = "提现金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提现金额 不能为空")
    private BigDecimal txAmount;

    @Schema(description = "提现申请状态：0：未审核，1：已审核通过，2：已审核，未通过", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提现申请状态：0：未审核，1：已审核通过，2：已审核，未通过 不能为空")
    private Integer txStatus;

    @Schema(description = "审核回复")
    private String txReply;
    @Schema(description = "提现审核人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String txShr;
    @Schema(description = "审核时间")
    private LocalDateTime shTime;

}